<?php

namespace Api\Controller;

use Services\Log\LogService;
use Think\Controller;

class CallbackController extends BaseController
{

	public function uploadBack()
	{
		return $this->return_app_data(self::SUCCESS, '上传成功');
	}

	public function payBack()
	{
        $postData = json_decode(file_get_contents('php://input'), true);
		LogService::writeWithDb($postData, '支付回调','支付回调');
		echo 'Success';
	}
}
